#ifndef __LIB_AGORA_ADMIN_SERVERRIGHT_H__
#define __LIB_AGORA_ADMIN_SERVERRIGHT_H__

#include <vector>
#include "IServerRight.h"

class	ServerRight : public IServerRight
{
public:
	ServerRight(void);
	ServerRight(const std::vector<bool>& right);
	~ServerRight();
	const bool	GetCanChangeLogin(void) const;
	void		SetCanChangeLogin(const bool) const;
	const bool	GetCanChangePassword(void) const;
	void		SetCanChangePassword(const bool) const;
	//can modif server name, codec, bpassante, max user, reboot, etcetc
	const bool	GetCanChangeChannel(void) const;
	void		SetCanChangeChannel(const bool) const;
	const bool	GetCanCreateChannel(void) const;
	void		SetCanCreateChannel(const bool) const;
	const bool	GetCanDeleteChannel(void) const;
	void		SetCanDeleteChannel(const bool) const;
	const bool	GetCanMoveChannel(void) const;
	void		SetCanMoveChannel(const bool) const;
	const bool	GetCanKickUser(void) const;
	void		SetCanKickUser(const bool) const;
	const bool	GetCanBanUser(void) const;
	void		SetCanBanUser(const bool) const;
	const bool	GetCanEditUser(void) const;
	void		SetCanEditUser(const bool) const;

private:
	std::vector<bool>	_right;
};

#endif